module.exports = () => {
    return async (ctx, next) => {
        // ...
        const token = ctx.headers.token;
        ctx.user = ctx.helper.checkToken(token);
        await next();
    };
};
